package net.take.aop.proxy;

public class StaticProxyDemoServiceImpl implements DemoService {

    private DemoService demoService;

    public StaticProxyDemoServiceImpl(DemoService demoService) {
        this.demoService = demoService;
    }

    @Override
    public String run(String str) {
        long sTime = System.currentTimeMillis();
        String resStr = demoService.run(str);
        long eTime = System.currentTimeMillis();
        return resStr;
    }
}
